package com.kkb.service.impl;

import com.kkb.mapper.TbBrandMapper;
import com.kkb.pojo.TbBrand;
import com.kkb.pojo.TbBrandExample;
import com.kkb.service.TbBrandService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

@Service
public class TbBrandServiceImpl implements TbBrandService {

    @Resource
    TbBrandMapper tbBrandMapper;

    @Override
    public List<TbBrand> queryBrands() {
        TbBrandExample tbBrandExample = new TbBrandExample();
        return tbBrandMapper.selectByExample(tbBrandExample);
    }
}
